Entering and editing scripts

You can enter JavaScript and VBScript in the Document window without having to use the HTML inspector.

See also Invisible Elements preferences.

To insert a script:

1 Place the cursor where you want the script.
2 Click the Script button on the Objects palette or choose Insert > Script.

To display script markers in the document window, choose View > Invisible Elements.

To enter or edit the script:

1 Select the Script icon.
2 Choose JavaScript or VBScript from the Language pop-up menu in the Property inspector.
3 Click Edit.

To link to an existing script file, type the file name in Source box, or click the folder and select the file.